public class Book extends BasicItem{
	
	//*****VARIABLES*****//
	private String isbn;
	//*****VARIABLES*****//
	
	
	
	//*****CONSTRUCTOR*****//
	public Book(String title, String author, String publicationDate, String isbn){
		super(title, author, publicationDate);
		this.isbn=isbn;
	}
	//*****CONSTRUCTOR*****//
	
	
	
	//*****GET_MAX_BORROW_TIME*****//
	public long getMaxBorrowTime(){
		return 86400000*28L;
	}
	//*****GET_MAX_BORROW_TIME*****//
	
	
	
	//*****GET_FEE_PER_DAY*****//
	public double getFeePerDay(){
		return 1.0;
	}
	//*****GET_FEE_PER_DAY*****//
	
	
	
	//*****EQUALS_TEST*****//
	public boolean equals(Object obj){
		if(obj!=null && obj instanceof Book){
			Book a = (Book)obj;
			if(a.isbn.equals(this.isbn))
				return super.equals(obj);
		}
		return false;
	}
	//*****EQUALS_TEST*****//
	
}
